home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / misc / ImageFXDevKit.lha / sdev / include / scan / procinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-09  |  1.2 KB  |  26 lines

  1. struct ProcessInfo {
  2.    struct Buffer    *Source;        /* Input buffer */
  3.    struct Buffer    *Dest;          /* Output buffer */
  4.    WORD              Left, Top;     /* Upper left corner */
  5.    WORD              Width, Height; /* Size of affected region */
  6.    WORD              StripW, StripH;/* Rows and offset */
  7.    WORD              PadW, PadH;    /* Padding on width and height */
  8.    LONG              Bytes;         /* Bytes per source row */
  9.    UBYTE            *Stencil;       /* Mask of pixels to affect */
  10.    struct Blend     *Blend;         /* Blend plane for region */
  11.    UBYTE            *RR, *RG, *RB;  /* Raw source pixel pointers */
  12.    UBYTE            *BR, *BG, *BB;  /* Beginning source pixel pointers */
  13.    UBYTE            *SR, *SG, *SB;  /* Source pixel data (with offset) */
  14.    UBYTE            *TR, *TG, *TB;  /* Temporary pixel data (output) */
  15. };
  16.  
  17. #define PPF_INLINE   0x01           /* Do not need second copy of buffer */
  18. #define PPF_UNDO     0x02           /* Save an undo buffer first */
  19.  
  20. #if 0
  21. struct ProcessInfo *PrepareProcess (char *, struct Buffer *, int, int, ULONG);
  22. void FinishProcess (struct ProcessInfo *);
  23. BOOL GetData (struct ProcessInfo *, int, int, int);
  24. BOOL PutData (struct ProcessInfo *, int, int, int);
  25. #endif
  26.